package sonet.textui;

import java.io.*;
import static ist.po.ui.Dialog.IO;
import sonet.*;


public class Browser {
	
	@SuppressWarnings("nls")
	public static void main(String[] args) {
		BrowsingState state = new BrowsingState();		
		/** loads a SocialNetwork instance from file "sonet.dat"
		*/
		Operations.loadSocialNetwork(state);
		/** get a valid agend
		*/	
		state.user = Operations.requestAgent(state,sonet.textui.browser.Message.login());			

		sonet.textui.browser.MenuBuilder.menuFor(state);
		
		IO.closeDown();
		}
	}


